<%@ page language="java" import="java.util.*" contentType="text/html; charset=utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'showRegister.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	
<style type="text/css">
		table.hovertable{
			font-family: verdana.arial,sans-serif;
			font-size: 13px;
			color:#333333;
			border-width: 1px;
			border-color: #999999;
			border-collapse: collapse;
		}
		
		table.hovertable th{
			background-color: #c3dde0;
			border-width: 1px;
			padding: 8px;
			border-style: solid;
			border-color: #a9c6c9;
		}
		
		table.hovertable tr{
			background-color: #d4e3e8;
		}
		
		table.hovertable td{
			border-width: 1px;
			padding: 25px;
			border-style: solid;
			border-color: #a9c6c9;
		}
	</style>
  </head>
  
  <body>
   
 <center>
    
     <h2>注册信息：</h2> 
  
     <table class="hovertable">
       
    	<tr>
    	    <td>卡号：</td>
    		<td>${addUser.getId()}</td>
    	</tr>
    	<tr>
    	    <td>姓名：</td>
    		<td>${addUser.getName()}</td>
    	</tr>
    	<tr>
    	    <td>密码：</td>
    		<td>${addUser.getPassword()}</td>
    	</tr>
    	<tr>
    	    <td>性别：</td>
    		<td>${addUser.getSex()}</td>
    	</tr>
    	<tr>
    		<td>学院专业：</td>
    		<td>${addUser.getDept()}</td>
       </tr>
       <tr>
    		<td>年级班级：</td>
    		<td>${addUser.getGrade()}</td>
       </tr>
       <tr>
            <td>邮箱：</td>
          <td>${addUser.getEmail()}</td>
       </tr>
    	<tr>
            <td>方向：</td>
          <td>${addUser.getDirection()}</td>
       </tr>
    <tr>
            <td>角色：</td>
          <td>${addUser.getRole()}</td>
       </tr>
       </table>
       
       </center>
  </body>
</html>
